#!/bin/sh
# Detect if 32bit or 64bit

ARCH="i386"

### Check for a 64bit OS, this will determine how we bootstrap chef-solo
if [ "`uname -a|grep x86_64`" != "" ]; then
	### 64bit arch
	$ARCH="x86_64"
fi

### add EPEL to YUM repo list
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/${ARCH}/epel-release-5-4.noarch.rpm
 
### add ELFF to YUM repo list
###rpm -Uvh http://download.elff.bravenet.com/5/${ARCH}/elff-release-5-3.noarch.rpm